package com.dgz.springboot18.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection="StudentTask")
public class StudentTask {

    @Id
    private String stuId; //学生id
    private String taskId;  //任务id
    private Boolean flagTask; //是否完成任务
    private LocalDateTime isTime;  //如果完成任务,完成任务时间


}
